package cn.sangkf.litemall.ware.service;

import cn.sangkf.litemall.ware.vo.MergeVo;
import cn.sangkf.litemall.ware.vo.PurchaseDoneVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.sangkf.litemall.common.utils.PageUtils;
import cn.sangkf.litemall.ware.entity.PurchaseEntity;

import java.util.Map;

/**
 * 采购信息
 *
 * @author sangkf
 * @email 413198756@qq.com
 * @date 2020-12-23 22:26:20
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceivePurchase(Map<String, Object> params);

    void mergePurchase(MergeVo mergeVo);

    void receivedPurchase(Long[] ids);

    void finishPurchase(PurchaseDoneVo purchaseDoneVo);
}

